import request from '@/utils/request'

export interface QueueType {
  count: number;
}

export async function fakeRequest(params: QueueType, option: { signal: AbortSignal }) {
  return request('/api/fake/request', {
    method: 'POST',
    data: params,
    prefix: '',
    ...option,
  });
}